package com.education.pojo;

import java.io.Serializable;
import java.util.Date;
import java.util.Set;

public class Admin implements Serializable{
    private Integer aId;

    private String aName;

    private String aHead;

    private String aUsername;

    private String aPassword;

    private Integer roleId;

    private Integer state ;

    private Set<Role> roleSet ;

    public Set<Role> getRoleSet() {
        return roleSet;
    }

    public void setRoleSet(Set<Role> roleSet) {
        this.roleSet = roleSet;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    private Date aCreateTime;

    private Date aUpdateTime;

    private Integer deleted ;

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Admin(Integer aId, String aName, String aHead, String aUsername, String aPassword, Integer roleId, Integer state, Date aCreateTime, Date aUpdateTime,Integer deleted
    ) {
        this.aId = aId;
        this.aName = aName;
        this.aHead = aHead;
        this.aUsername = aUsername;
        this.aPassword = aPassword;
        this.roleId = roleId;
        this.state = state ;
        this.aCreateTime = aCreateTime;
        this.aUpdateTime = aUpdateTime;
        this.deleted = deleted ;
    }

    public Admin() {
        super();
    }

    public Integer getaId() {
        return aId;
    }

    public void setaId(Integer aId) {
        this.aId = aId;
    }

    public String getaName() {
        return aName;
    }

    public void setaName(String aName) {
        this.aName = aName == null ? null : aName.trim();
    }

    public String getaHead() {
        return aHead;
    }

    public void setaHead(String aHead) {
        this.aHead = aHead == null ? null : aHead.trim();
    }

    public String getaUsername() {
        return aUsername;
    }

    public void setaUsername(String aUsername) {
        this.aUsername = aUsername == null ? null : aUsername.trim();
    }

    public String getaPassword() {
        return aPassword;
    }

    public void setaPassword(String aPassword) {
        this.aPassword = aPassword == null ? null : aPassword.trim();
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Date getaCreateTime() {
        return aCreateTime;
    }

    public void setaCreateTime(Date aCreateTime) {
        this.aCreateTime = aCreateTime;
    }

    public Date getaUpdateTime() {
        return aUpdateTime;
    }

    public void setaUpdateTime(Date aUpdateTime) {
        this.aUpdateTime = aUpdateTime;
    }
}